package com.hc.service.impl;

import org.springframework.stereotype.Service;

import java.util.List;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.hc.domain.Permission;
import com.hc.mapper.PermissionMapper;
import com.hc.service.PermissionService;

@Service
public class PermissionServiceImpl extends ServiceImpl<PermissionMapper, Permission> implements PermissionService {

    @Override
    public int updateBatchSelective(List<Permission> list) {
        return baseMapper.updateBatchSelective(list);
    }

    @Override
    public int batchInsert(List<Permission> list) {
        return baseMapper.batchInsert(list);
    }
}

